package acm.第二轮;

public class C {
    public static void main(String[] args) {
        System.out.println(
                "#include<bits/stdc++.h>\n" +
                "using namespace std;\n" +
                "int main()\n" +
                "{\n" +
                "    int a;\n" +
                "    scanf(\"%d\",&a);\n" +
                "    a=a%10;\n" +
                "    printf(\"%d\\n\",a);\n" +
                "}");
    }
}
